// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';

// 分页获取数据
export const getGwschoolCodeList = params => {
    return postRequest('/gwschoolCode/getByPage', params);
};
// 分页获取数据
export const getAllGwschoolCodeList = params => {
    return postRequest('/gwschoolCode/getAll', params);
};
// 添加
export const addGwschoolCode = params => {
    return postRequest('/gwschoolCode/insertOrUpdate', params);
};

export const importGwschoolCode = params => {
    return postBodyRequest('/gwschoolCode/importGwschoolCode', params);
};
// 编辑
export const editGwschoolCode = params => {
    return postRequest('/gwschoolCode/insertOrUpdate', params);
};
// 删除
export const deleteGwschoolCode = params => {
    return postRequest('/gwschoolCode/delByIds', params);
};
